package com.dcy.znoa.controller.publiz.model.canteenMenu;

/**
 * Created by pengyu on 2018/3/14.
 */

import com.dcy.znoa.controller.publiz.model.SelectBaseModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class SelectCanteenMenuOneDayModel extends SelectBaseModel{

    @NotNull
    Long canteenId;
    @NotNull
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    Date cmTime;//上菜日期 只有年月日

}
